import { defineStore } from 'pinia'

interface State {

}

export const useStore = defineStore('global', {
    state: () : State => {
        return {}
    },
    actions: {},
    getters: {}
})

//可以定义多个store分离状态
// export const useStore2 = defineStore('global', {
//     state: () : State => {
//         return {}
//     },
//     actions: {},
//     getters: {}
// })
